export interface ITextConfigType {
  key: string,
  name: string,
  type: 'Text'
}

export interface IColorConfigType {
  key: string,
  name: string,
  type: 'Color'
}

export interface INumberConfigType {
  key: string,
  name: string,
  type: 'Number'
}

export interface ISelectConfigType<KeyType> {
  key: string,
  name: string,
  type: 'Select',
  range: Array<{
    key: KeyType,
    text: string
  }>
}

export type TTextDefaultType = string

export type TColorDefaultType = string

export type TNumberDefaultType = number

export type TSelectDefaultType<KeyType> = KeyType 